package com.gxa.medical.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.medical.common.BizException;
import com.gxa.medical.entity.pojo.User;

public interface UserService extends IService<User> {

    User login(String phone,String pwd) throws BizException;

    User register(User user) throws Exception;

}
